package com.education.common;

/**
 * @author 林心晨
 * @Title:
 * @Package
 * @Description:
 * @date create in 4.19  16:45
 */
public class Const {

    /* 当前用户常量类 */
    public static final String CURRENT_Admin = "currentAdmin";

    public static final String UNIQUE_TIcked = "_USER_LOGIN";

    public enum AdminProfileType{
        DBA(0,"超级管理员"),
        ADMIN(1,"管理员"),
        USER(2,"会员"),
        ;
        private int code ;
        private String dest ;

        AdminProfileType(int code, String dest) {
            this.code = code;
            this.dest = dest;
        }
        public int getCode() {
            return code;
        }
        public String getDest() {
            return dest;
        }
    }

    public interface state{
        int active = 0 ;
        int inactive = 1 ;
    }

    public enum StateCode{
        ACTIVE(0,"已启用"),
        INACTIVE(1,"已停用"),
        ;
        private int code ;
        private String dest ;

        StateCode(int code, String dest) {
            this.code = code;
            this.dest = dest;
        }
        public int getCode() {
            return code;
        }
        public String getDest() {
            return dest;
        }
    }

    public enum CacheKeyConstants {
        SYSTEM_ACLS,
        USER_ACLS;
    }

}
